Skip to main content

Weighted Pools

InterSwap Weighted Pools are different from other AMM liquidity pools. InterSwapPair contract on masterchain does not store tokens, it only keeps the state of the pool. In fact, Tokens are stored in Lock contracts on child chains.

InterSwap Infrastructure

InterSwap AMM engine relies on simple and robust mechanisms like Constant Product Market Maker for Weighted Pools (WeightedMath) and a combination of Constant Sum and Constant Product for 1:1 pegged assets (StableMath).

Maximum Number of Assets

InterSwap has a dynamic limit of a maximum number of assets. Currently, there are 8, but it can be changed by a Governance process with the hard limit of 20 assets.

The weights are divided equally when creating a pool, but then they are adjusted during add/remove liquidity. Read more about Dynamic Weights.